package com.bocai.common.exception;

public class HasWareException extends RuntimeException{

    private Long skuId;

    public HasWareException(Long skuId){
        super("skuId为:" + skuId +"的商品没有足够的存库异常");
        this.skuId = skuId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
